<?php
return array(
	'attributeLabels' => array(
		'layer' => '层级',
	),
	'relations' => array(
		'parent' => array(ActiveRecord::BELONGS_TO, 'CategoryInformation','parent_id')
	),
	
	'behaviors' => array(
		'sysCate' => array(
			'class' => 'coms.behaviors.SysDataBehavior',
			'beforeDeleteAllow' => false,
			'sys' => array(
				'title' => array(
					'系统资讯','旅游资讯','酒店资讯','景区资讯','土特产资讯',
					'自驾游','自驾快讯','汽车新闻','业界动态',
					'最新公告'
				)
			)
		),
		'tree' => array(
			'class' => 'lib.behaviors.ar.tree.CLRTreeBehavior',
			'maxLayer' => 3
		),
	),
	
	'_import' => array(
		array('*', 'models.CategoryBase//*'),
	),
);